package main

import (
	"encoding/json"
	"fmt"
	"strconv"
)

func main() {
	a := "101"
	fmt.Println(strconv.Atoi(a))

	b := 102
	fmt.Println(strconv.Itoa(b))

	m := make(map[string]interface{})

	m["username"] = "zhaolie"
	m["hobby"] = []string{"study", "play"}

	mjson, _ := json.Marshal(m)
	mstr := string(mjson)

	fmt.Println(mstr)
}
